 /**
 * Description: 物资入库记录
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.app.service.inf;

import com.metro.core.service.IService;
import com.metro.core.vo.JsonResult;
import com.metro.core.vo.inf.IResult;
import com.metro.paperless.app.beans.vo.AppInDetailForm;
import com.metro.paperless.app.beans.vo.AppMaterialsIn;

 /**
 * 物资入库记录<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
public interface IAppMaterialsInService extends IService<AppMaterialsIn>{
     /**
      * 保存入库记录 入库明细
      * @param itemIn
      * @param entity
      * @return
      */
     JsonResult save(AppInDetailForm itemIn, AppMaterialsIn entity);

     /**
      * 更新入库记录 入库明细
      * @param itemEntity
      * @param entity
      * @return
      */
     IResult update(AppInDetailForm itemEntity, AppMaterialsIn entity);
     /**
      * 更新入库记录 入库明细
      * @param itemEntity
      * @param action
      * @return
      */
     IResult update(AppMaterialsIn itemEntity,String action);
 }